package datastructure.linkedlist;

public class SLLNodeMethods {

	
	public void insert(Object val, SLLNode prior){
		SLLNode ins = new SLLNode(val);
		if(prior==null){
//			ins.next = head;
//			head = ins;
			return;
		}
		
		
		ins.next = prior.next;
		prior.next = ins;
		
		
	}
}
